def buttonClicked(args):
    if args.get('sender') == self.name:
        self.log("shutdown")
        self.shutdown()
